package com.ly.datacenter.crud.json;

import java.util.Map;

/**
 * function:
 * 
 * @author watson email: watson.wu@hotmail.com
 * @date 2009-9-2
 */
@SuppressWarnings("unchecked")
public class BaseEditField {
	private Class type;
	private String name;
	private Object value;
	private Map attrs;

	public BaseEditField() {
		super();
	}

	public BaseEditField(Class type, String name, Object value, Map attrs) {
		super();
		this.type = type;
		this.name = name;
		this.value = value;
		this.attrs = attrs;
	}

	public Class getType() {
		return type;
	}

	public void setType(Class type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public Map getAttrs() {
		return attrs;
	}

	public void setAttrs(Map attrs) {
		this.attrs = attrs;
	}

}
